<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template('yp', 'header'); ?>
<div id="main">
  <div id="right">
  <div id="position"><strong>当前位置：</strong><a href="yp/">企业黄页</a><a href="yp/job.php">企业招聘</a>搜索结果</div>
  <h3 class="bt mar_10"><?php if($stype) { ?>人才搜索<?php } else { ?>职位搜索<?php } ?></h3>
  <div class="box">
<ul class="list13">
<?php if($stype) { ?>
<?php if($rs['result'][0]) { ?>
<?php if(is_array($rs['result'])) foreach($rs['result'] AS $result) { ?>
<li><span><a href="yp/apply.php?applyid=<?php echo $result['userid'];?>"><?php echo $result['truename'];?></a></span><span>工作经验：<?php echo $result['experience'];?>年</span><span>毕业院校：<?php echo $result['school'];?></span><span>专业：<?php echo $result['specialty'];?></span><span>工作性质：<?php echo $result['worktype'];?></span>
<P>个人鉴定：<?php echo str_cut(strip_tags($result['introduce']),182);?></P></li>
<?php } ?>
<?php } else { ?>
<li>没有找到匹配的信息</li>
<?php } ?>
<?php } else { ?>
<?php if($rs['result'][0]) { ?>
<?php if(is_array($rs['result'])) foreach($rs['result'] AS $result) { ?>
<li><span><a href="<?php echo show_url('job',$result[id]);?>" target="_blank"><?php echo $result['title'];?></a></span><span><a href="<?php echo company_url($result['userid'],$result[sitedomain]);?>"><?php echo $result['companyname'];?></a></span><span>招聘人数(<?php echo $result['employ'];?>人)</span><P>职位简介：<?php echo str_cut(strip_tags($result['content']),182);?></P></li>
<?php } ?>
<?php } else { ?>
<li>没有找到匹配的信息</li>
<?php } ?>
<?php } ?>
</ul>
</div>
<div class="clear"></div>
    <div id="pages"><?php echo $pages;?></div>
  </div>
  <!--right结束-->
  <div id="left">
     <div class="box_t">
      <h3>职位分类列表</h3>
    </div>
    <div class="box_c">
    <table width="222" border="0" cellspacing="0" cellpadding="0" class="table_list">
<?php $DATA = get("SELECT count(*) AS number,j.station,t.name FROM phpcms_yp_job j,phpcms_type t WHERE t.typeid = j.station AND j.status = '99' GROUP BY j.station ORDER BY t.listorder DESC", 0, 0, "", "");foreach($DATA AS $n => $r) { $n++;?>
<tr>
<td><a href="<?php echo job_list_url(0,$r['station'],0);?>"><?php echo $r['name'];?></a>（<?php echo $r['number'];?>）</td>
</tr>
<?php } unset($DATA); ?>  
</table>
    </div>
    <div class="box_b"></div>
    </div>
  </div>
<?php include template('yp', 'footer'); ?>
